package com.syher.dubbo.provider.service;

import com.syher.dubbo.model.User;
import com.syher.dubbo.service.IUserService;
import org.springframework.stereotype.Service;

/**
 * Created by shenyuhang on 2018/3/7.
 */
@Service("userService")
public class UserService implements IUserService {
    @Override
    public String print(User user) {
        return String.format("Hello %s.", user.getName());
    }
}
